#多继承
#INFO:当⼀个类有多个⽗类的时候，默认使⽤第⼀个⽗类的同名属性和⽅法。
class Master(object):
  def __init__(self):
    self.kongfu="[古法煎饼果子配方]"
  def makeCake(self):
    print(f"运用{self.kongfu}制作煎饼果子")
    
class School(object):
  def __init__(self):
    self.kongfu="[垃圾煎饼果子配方]"
  def makeCake(self):
    print(f"运用{self.kongfu}制作煎饼果子")
class Prentice(School,Master):
  pass

daqiu=Prentice()
print(daqiu.kongfu)